﻿<%@ Page Language="C#" MasterPageFile="~masterurl/custom.master" AutoEventWireup="true" EnableViewState="false" EnableViewStateMac="false"
  Inherits="Kiiro.SiteDefinition.ApplicationPages.KiiroError, Kiiro.SiteDefinition, Version=1.2.0.7, Culture=neutral, PublicKeyToken=5b2f4277f61b7816" 
  MaintainScrollPositionOnPostback="true" %>

<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
  Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
  Kiiro Error
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
  Kiiro Error
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
  <meta name="Robots" content="NOINDEX " />
  <meta name="SharePointError" content="" />
  <style type="text/css">
    .smart404
    {
    }
    .smart404 h2
    {
      padding-left: 10px;
    }
    .smart404 h4
    {
      padding-left: 10px;
    }
    .smart404Notice
    {
      padding: 10px;
      padding-right: 0px;
      font-size: 120%;
    }
    .smart404Return
    {
      padding: 15px;
      padding-left: 10px;
      font-size: 110%; /*font-weight: bold;*/
    }
  </style>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">

  <script type="text/javascript" language="JavaScript">
    
        var gearPage = document.getElementById('GearPage');
        
        if(null != gearPage)
        {
            gearPage.parentNode.removeChild(gearPage);
            document.title = "<SharePoint:EncodedLiteral runat='server' text='<%$Resources:wss,error_pagetitle%>' EncodeMethod='HtmlEncode'/>";
        }
        
  </script>

  <div class="actionbar">
    <div class="wrap-has-tabs">
      <p class="left">
        Kiiro Error
      </p>
    </div>
  </div>
  <div class="body-pad">
    <div class="body">
      <div class="wrap">
        <div class="smart404">
          <h2>
            <SharePoint:FormattedString ID="LabelMessage" EncodeMethod="HtmlEncodeAllowSimpleTextFormatting"
              runat="server">
              <asp:HyperLink ID="LinkContainedInMessage" runat="server" />
            </SharePoint:FormattedString>
          </h2>
          <h2>
            <asp:Literal ID="litErrorInfo" runat="server" />
          </h2>
          <div class="smart404Notice">
            <asp:Literal ID="litErrorExtendedDetails" runat="server" />
          </div>
          <div class="smart404Return">
            <%  if ( IsAdministrationSite )
                { %>
            <SharePoint:FormattedString ID="helptopic_MS_WSS_CA_Troubleshoot" FormatText="<%$Resources:wss,helptopic_link%>"
              EncodeMethod="NoEncode" runat="server">
              <SharePoint:EncodedLiteral runat="server" Text="<%$Resources:wss,troubleshoot_issues%>"
                EncodeMethod='HtmlEncode' />
              <SharePoint:EncodedLiteral runat="server" Text='MS_WSS_CA_Troubleshoot' EncodeMethod='EcmaScriptStringLiteralEncode' />
            </SharePoint:FormattedString>
            <%  }
                else
                {  %>
            <SharePoint:FormattedString ID="helptopic_troubleshooting" FormatText="<%$Resources:wss,helptopic_link%>"
              EncodeMethod="NoEncode" runat="server">
              <SharePoint:EncodedLiteral runat="server" Text="<%$Resources:wss,troubleshoot_issues%>"
                EncodeMethod='HtmlEncode' />
              <SharePoint:EncodedLiteral runat="server" Text='troubleshooting' EncodeMethod='EcmaScriptStringLiteralEncode' />
            </SharePoint:FormattedString>
            <%  } %>
          </div>
        </div>
      </div>
    </div>
  </div>
</asp:Content>
